﻿using Newtonsoft.Json;

namespace BookApi.Models
{
    public class SearchList
    {
        public Book[] Books { get; set; }
        public bool Ok { get; set; }
    }

    public class Book
    {
        [JsonProperty("_id")]
        public string Id { get; set; }
        public bool HasCp { get; set; }
        public string Title { get; set; }
        public string Cat { get; set; }
        public string Author { get; set; }
        public string Site { get; set; }
        public string Cover { get; set; }
        public string ShortIntro { get; set; }
        public string LastChapter { get; set; }
        public float RetentionRatio { get; set; }
        public int Banned { get; set; }
        public int LatelyFollower { get; set; }
        public int WordCount { get; set; }
        public string ContentType { get; set; }
        public string Superscript { get; set; }
        public int Sizetype { get; set; }
    }
}
